﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAL;
using Models.OrderMealManageSubSystem;

namespace BLL
{
    public class OrderParameterSettingBLL
    {
        public static DataSet GetOrderParameterSetting(string openid)
        {
            return OrderParameterSettingDAL.GetOrderParameterSetting(openid);
        }
        public static int GetRyid(string openid)
        {
            return OrderParameterSettingDAL.GetRyid(openid);
        }
        public static bool SetOrderParameterSetting(SetOrderParameterSettingModel arguments)
        {
            return OrderParameterSettingDAL.SetOrderParameterSetting(arguments);
        }
        public static int SetOrderParameterSettingPayAdd(int ryid, double amount,string oederIds)
        {
            return OrderParameterSettingDAL.SetOrderParameterSettingPayAdd(ryid, amount, oederIds);
        }

        /// <summary>
        /// 通过编号查询余额
        /// </summary>
        /// <param name="user_phone"></param>
        /// <returns></returns>
        public static DataTable Select_CUST_ID(string rfkh)
        {
            return OrderParameterSettingDAL.Select_CUST_ID(rfkh);
        }
    }
}
